// -*- Mode: C++ -*-
#ifndef FONT_H
#define FONT_H

#include <allegro5/allegro5.h>
#include <string>
#include "rect.h"

class Font {
public:
     Font(const std::string &imagefile, int width, int height);
     ~Font();
     int width();
     int height();
     void print(const std::string &str, Rect dest);
     
private:
     int m_width;
     int m_height;
     ALLEGRO_BITMAP *m_pBitmap;
};

#endif
